import Mock from 'mockjs'
let data=[
    {
        img:'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2200277228,3501891138&fm=26&gp=0.jpg',
        name:'Iphone 4s',
        id:1,
        num:0
    },
    {
        img:'https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=2026439160,1939435173&fm=26&gp=0.jpg',
        name:'Iphone 5s',
        id:2,
        num:0
    },
    {
        img:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2187474341,3862657937&fm=26&gp=0.jpg',
        name:'Iphone 6s',
        id:3,
        num:0
    },
    {
        img:'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2424529223,3224834487&fm=26&gp=0.jpg',
        name:'Iphone 7plus',
        id:4,
        num:0
    },
    {
        img:'https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=2119474956,2356884649&fm=26&gp=0.jpg',
        name:'Iphone x',
        id:5,
        num:0
    },
    {
        img:'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=4207880338,1492426571&fm=26&gp=0.jpg',
        name:'Iphone 11 pro',
        id:6,
        num:0
    }
]
Mock.mock('/getList','get',{
    code:200,
    data
})